/*
 * @Author: C.
 * @Date: 2023-04-11 09:52:26
 */
// import { createApiModule } from '/~/utils/help/createApiModule';
import { defHttp } from '/@/utils/http/axios';

// export const apiModuleName = 'stockLocation';
// export default createApiModule(apiModuleName);
export const addStockLocation = (params: any) => {
  return defHttp.post({ url: 'stockroom/add_stock_location', params });
};
export const get_all_stock_location = (params: any) => {
  return defHttp.get({ url: 'stockroom/get_all_stock_location', params });
};
export const deleteStockLocation = (params: any) => {
  return defHttp.post({ url: 'stockroom/delete_stock_location', params });
};
